package cn.sherer.beans.douyin;

import java.io.Serializable;

/**
 * 抖音支付信息
 */
public class DyPaymentInfo implements Serializable {
    private long total_fee;
    private String order_status;
    private String pay_time;
    private int way;
    private String channel_no;
    private String seller_uid;
    private String item_id;
    private String cp_extra;

    /** 支付状态：成功 */
    public static final String ORDER_STATUS_SUCCESS = "SUCCESS";
    /** 支付状态：超时未支付 */
    public static final String ORDER_STATUS_TIMEOUT = "TIMEOUT";
    /** 支付状态：处理中 */
    public static final String ORDER_STATUS_PROCESSING = "PROCESSING";
    /** 支付状态：失败 */
    public static final String ORDER_STATUS_FAIL = "FAIL";

    /** 支付方式：微信 */
    public static final int WAY_WEIXIN = 1;
    /** 支付方式：支付宝 */
    public static final int WAY_ALIPAY = 2;
    /** 支付方式：抖音 */
    public static final int WAY_DOUYIN = 10;

    public DyPaymentInfo() {
    }

    public long getTotal_fee() {
        return total_fee;
    }

    public void setTotal_fee(long total_fee) {
        this.total_fee = total_fee;
    }

    public String getOrder_status() {
        return order_status;
    }

    public void setOrder_status(String order_status) {
        this.order_status = order_status;
    }

    public String getPay_time() {
        return pay_time;
    }

    public void setPay_time(String pay_time) {
        this.pay_time = pay_time;
    }

    public int getWay() {
        return way;
    }

    public void setWay(int way) {
        this.way = way;
    }

    public String getChannel_no() {
        return channel_no;
    }

    public void setChannel_no(String channel_no) {
        this.channel_no = channel_no;
    }

    public String getSeller_uid() {
        return seller_uid;
    }

    public void setSeller_uid(String seller_uid) {
        this.seller_uid = seller_uid;
    }

    public String getItem_id() {
        return item_id;
    }

    public void setItem_id(String item_id) {
        this.item_id = item_id;
    }

    public String getCp_extra() {
        return cp_extra;
    }

    public void setCp_extra(String cp_extra) {
        this.cp_extra = cp_extra;
    }

    @Override
    public String toString() {
        return "DyPaymentInfo{" + "total_fee=" + total_fee + ", order_status=" + order_status + ", pay_time=" + pay_time + ", way=" + way + ", channel_no=" + channel_no + ", seller_uid=" + seller_uid + ", item_id=" + item_id + ", cp_extra=" + cp_extra + "}";
    }
}
